home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
081
/
omam_112.arc
/
WAIT.MAM
< prev
next >
Wrap
Text File
|
1987-11-29
|
2KB
|
118 lines
; I execute this script after each caller. It will update the messages
; waiting lists only once every "how_often" hours ...
; Make How_Often "I" for once per hour, "II" for once per two hours,
; "III" for once every three hours and so on. (p.s. If you change
; "how_often," delete WAIT.DEF or the LOAD will retrieve the old value.)
DEFINE how_often III
DEFINE last_hour x
DEFINE counter $how_often$
IF @EXISTS d:\opus\wait.def THEN
LOAD DEFINITIONS FROM d:\opus\wait.def
END IF
IF $last_hour$ != #hour# THEN
DEFINE last_hour #hour#
DEFINE counter $counter$I
IF $counter$ == $how_often$I THEN
DEFINE counter I
DEFINE opus d:\opus
DEFINE misc $opus$\misc
FILE USER $opus$\user.bbs
FILE ECHO e:\opus\nodelist\echo.ctl
PATH SYSTEM $opus$\
PATH CUSTOM $opus$\notes\
FILE HEADER $misc$\opuswait.hdr $misc$\graphics.hdr
FORMAT C
LOCK all
LOCK Ben-z Lawrence
LOCK James Young
LOCK Steven Marcussen
AREA general echo
WAIT
END AREA
AREA jax ECHO
WAIT
END AREA
UNLOCK James Young
UNLOCK Ben-z Lawrence
UNLOCK Steven Marcussen
AREA comment
WAIT
END AREA
AREA private
WAIT
END AREA
Lock Ben-z Lawrence
AREA bbs ECHO
WAIT
END AREA
AREA sale ECHO
WAIT
END AREA
LOCK James Young
AREA anon ECHO
WAIT
END AREA
LOCK Steven Marcussen
LOCK Ben-z Lawrence
AREA net
WAIT
END AREA
UNLOCK James Young
UNLOCK Steven Marcussen
AREA records ECHO
WAIT
END AREA
AREA movies ECHO
WAIT
END AREA
AREA sportnet ECHO
WAIT
END AREA
AREA mod1000 ECHO
WAIT
END AREA
AREA tandy ECHO
WAIT
END AREA
LOCK James Young
AREA ibm ECHO
WAIT
END AREA
UNLOCK James Young
AREA amiga ECHO
WAIT
END AREA
AREA os2 ECHO
WAIT
END AREA
LOCK twit
LOCK disgrace
LOCK normal
LOCK James Young
LOCK Steven Marcussen
AREA syschat ECHO
WAIT
END AREA
AREA meadow ECHO
WAIT
END AREA
UNLOCK James Young
UNLOCK Steven Marcussen
AREA sysop18 ECHO
WAIT
END AREA
LOCK priv
LOCK extra
AREA host18 ECHO
WAIT
END AREA
FILE TRAILER $misc$\opuswait.trl
END IF
END IF
SAVE DEFINITIONS TO d:\opus\wait.def